package com.cly.entity;

import com.cly.base.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 简历表
 *
 * @author by 春风能解释
 * <p>
 * 2024-06-05
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Schema(name = "简历表", description = "简历表")
public class Resume extends BaseEntity {

    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = 1591130827202868350L;

    /**
     * 简历名称
     */
    @Schema(description = "简历名称")
    private String name;
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;
    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String username;
    /**
     * 性别(0女,1男,2保密)
     */
    @Schema(description = "性别(0女,1男,2保密)")
    private Integer sex;
    /**
     * 年龄
     */
    @Schema(description = "年龄")
    private Integer age;
    /**
     * 生日
     */
    @Schema(description = "生日")
    private String birthday;
    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String phone;
    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;
    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;
    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String identity;
    /**
     * 头像
     */
    @Schema(description = "头像")
    private Long avatar;
    /**
     * 专业技能
     */
    @Schema(description = "专业技能")
    private String skill;
    /**
     * 自我评价
     */
    @Schema(description = "自我评价")
    private String advantage;

    /**
     * 附件ID
     */
    @Schema(description = "附件ID")
    private Long fileId;
}
